<template>
    <div class="midCad flex">
        <div class="midcd one">
            <img src="../../assets/images/midcard/clothes.png" alt="">
            <a href="#">我的收藏</a>
        </div>
        <div class="midcd two">
            <img src="../../assets/images/midcard/comecs.png" alt="">
            <a href="#">今日签到</a>
        </div>
        <div class="midcd three">
            <img src="../../assets/images/midcard/lessluxury.png" alt="">
            <a href="#">满减折扣</a>
        </div>
        <div class="midcd four">
            <img src="../../assets/images/midcard/bag.png" alt="">
            <a href="#">充值中心</a>
        </div>
        <div class="midcd five">
            <img src="../../assets/images/midcard/electronic.png" alt="">
            <a href="#">拼团商城</a>
        </div>
        <div class="midcd six">
            <img src="../../assets/images/midcard/oversea.png" alt="">
            <a href="#">红包赠送</a>
        </div>
        <div class="midcd seven">
            <img src="../../assets/images/midcard/baby.png" alt="">
            <a href="#">邀请好友</a>
        </div>
        <div class="midcd eight">
            <img src="../../assets/images/midcard/more.png" alt="">
            <a href="#">更多精彩</a>
        </div>
    </div>
</template>

<script>
    export default {
        name: "MidCd",
        data() {
            return {

            }
        }
    }
</script>

<style lang="less" scoped>
.midCad{
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 0.2rem;
    background-color: #ffffff;
    margin: 0.2rem 0;
    padding-bottom: 0.5rem;
    // width: 100%; 
    .midcd{
        width: 0.9rem;
        height: 0.9rem;
        margin-right: 0.7rem;
        margin-bottom: 0.1rem;
        // background-color: #00FF0C;
        border-radius: 0.2rem;
        text-align: center;
        img{
            width: 0.9rem;
            height: 0.9rem;
        }
        a{
            display: block;
            width: 1rem;
            margin-top: 0.1rem;
            font-size: 0.24rem;
            color: #242424;
            text-decoration: none;
        }
    }
    .one,.two,.three,.four{
        margin-top:0.15rem;
        padding-left: 0.4rem;
        box-sizing: border-box;
    }
    .five,.six,.seven,.eight{
        margin-top:0.6rem;
        padding-left: 0.4rem;
        box-sizing: border-box;
    }
}
    
</style>